<HTML>
<HEAD>
<TITLE>List mailbox!</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf8">
<link rel="stylesheet" href="template/stylesheet.css">
</HEAD>
<BODY BGCOLOR=#FFFFFF leftmargin="0" topmargin="0" marginheight=0 marginwidth=0 rightmargin=0 bottommargin=0 background="images/back.gif" link="#0000FF" vlink="#0000FF" alink="#0000FF">









<div id="login_header">
<img id="login_header_logo" src="template/images/postbox.png" />
<img id="login_header_logo" src="template/images/postfixadmin2.png" />
</div>
<div id="menu">
<ul>

<TMPL_IF NAME="WELCOME">
  You called as:<b><strong class="yellow1"> <TMPL_VAR NAME="USERSE"> </strong></b> 
  <a href="index.pl?action=logout"><b><strong class="yellow1"> To go out</a></strong></b> 
  </br> </br> </br> </br>
</TMPL_IF>

   <li><a target="_top" href="index.pl">home</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=listdomain">Domain List</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=listvirtual">Virtual List</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createdomain">New Domain</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createalias">Add Alias</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createmailbox">Add Mailbox</a></li>
   
      <TMPL_IF NAME="ADMIN_SEE">
   </br> </br> </br> </br>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=logms">Log SimpleMail</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=log">Log MTA</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createadmin">Add Admin</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=listadmin">Domain Admin</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=setting">Setting</a></li>
   </TMPL_IF>
   
</ul>
</div>





 <div id="admin_virtual">
 <TMPL_UNLESS "NOTS3">
 <form name="overview" method="post">
 <select name="fDomain" onChange="this.form.submit()";>
 <TMPL_LOOP NAME="ROWS3">
  <option value="<TMPL_VAR NAME="domain">" selected><TMPL_VAR NAME="domain2"></option>
  </TMPL_LOOP>
 </select>
 <input type="submit" name="postfixform" value="Go" />
 </form>
 <TMPL_ELSE>
 <p>No Domain</p>
 </TMPL_UNLESS>


<h4>Overview for <TMPL_VAR NAME="RETURN_DOMAIN"></h4> </br>
<p>Aliases: <TMPL_VAR NAME="m_countalias"> / <TMPL_VAR NAME="m_aliases"></p>
<p>Mailboxes: <TMPL_VAR NAME="m_countmail"> / <TMPL_VAR NAME="m_mailboxes"></p>
</div>

<div id="nav_bar">
<TMPL_VAR NAME="PAGE">
</div

</div>
<table id="alias_table">

   <tr>
      <td colspan="5"><h3>:: Alias</h3></td>   </tr>   <tr class="header">
      <td>From</td>
      <td>To</td>
      <td>Last Modified</td>
      <td colspan="2">&nbsp;</td>

   </tr>


 <TMPL_UNLESS "NOTS2">
  
     <TMPL_LOOP NAME="ROWS2">
   <tr class="hilightoff" onMouseOver="className='hilighton';" onMouseOut="className='hilightoff';">
      <td><TMPL_VAR NAME="address"></td>
      <td><TMPL_VAR NAME="goto"></td>
      <td><TMPL_VAR NAME="modified"></td>
      <td><a href="<TMPL_VAR NAME="URL">?action=postfix&postfixactive=editalias&address=<TMPL_VAR NAME="address">&domain=<TMPL_VAR NAME="domain">">edit</a></td>
      <td><a href="<TMPL_VAR NAME="URL">?action=postfix&postfixactive=deletealias&address=<TMPL_VAR NAME="address">&domain=<TMPL_VAR NAME="domain">&from=<TMPL_VAR NAME="from">&username=<TMPL_VAR NAME="USERNAME2">"onclick="return confirm ('Are you sure you want to delete this?\nAliases: <TMPL_VAR NAME="address">')">del</a></td>
   </tr>
       </TMPL_LOOP>
 <TMPL_ELSE>
   <tr class="hilightoff" onMouseOver="className='hilighton';" onMouseOut="className='hilightoff';">
      <td><b>No alias</b></td>
 </tr>


 </TMPL_UNLESS>




</table>
<table id="mailbox_table">
   <tr>
      <td colspan="7"><h3>:: Mailboxes</h3></td>   </tr>   <tr class="header">
      <td>Email</td>
      <td>Name</td>

      <td>Quota (MB)</td>
      <td>Last Modified</td>
      <td>Active</td>
      <td colspan="2">&nbsp;</td>
   </tr>
   
   
    <TMPL_UNLESS "NOTS">
        <TMPL_LOOP NAME="ROWS">
   <tr class="hilightoff" onMouseOver="className='hilighton';" onMouseOut="className='hilightoff';">
      <td><TMPL_VAR NAME="username"></td>

      <td><TMPL_VAR NAME="name"></td>
      <td><TMPL_VAR NAME="quota"></td>
      <td><TMPL_VAR NAME="modified"></td>
      <td><a href="<TMPL_VAR NAME="URL">?action=postfix&postfixactive=editemailactive&mailbox=<TMPL_VAR NAME="username">&username=<TMPL_VAR NAME="username2">&from=<TMPL_VAR NAME="from">&domain=<TMPL_VAR NAME="domain">"><TMPL_VAR NAME="active"></a></td>
      <td><a href="<TMPL_VAR NAME="URL">?action=postfix&postfixactive=editmailbox&mailbox=<TMPL_VAR NAME="username">&domain=<TMPL_VAR NAME="domain">">edit</a></td>
      <td><a href="<TMPL_VAR NAME="URL">?action=postfix&postfixactive=deletemailbox&delete=<TMPL_VAR NAME="username">&domain=<TMPL_VAR NAME="domain">&from=<TMPL_VAR NAME="from">&username=<TMPL_VAR NAME="username2">"onclick="return confirm ('Are you sure you want to delete this?\nMailboxes: <TMPL_VAR NAME="username">')">del</a></td>
   </tr>
        </TMPL_LOOP>
 <TMPL_ELSE>
   <tr class="hilightoff" onMouseOver="className='hilighton';" onMouseOut="className='hilightoff';">
      <td><b>No mailbox</b></td>
 </tr>


 </TMPL_UNLESS>
   

   
</table>
<div id="footer">
<a target="_blank" href="http://postfixadmin.com/">Design by Postfixadmin. All rights reserved</a>
</div>





<TR>
		<TD valign="top" bgcolor="#FFFFFF">
     <p align="center"><small><font size="1" face="Verdana">Copyright 2008++ <a target="_blank" href="http://unixforum.org.ua">Simplemail</a>
        . All rights reserved</font></small></p>
       </TD>
	</TR>
</BODY>
</HTML>